try:
    a = input("请输入被除数：")
    b = input("请输入除数：")
    c = float(a)/float(b)
    print(c)

except ZeroDivisionError:
     print("异常，除数不能为0")
except TypeError:
    print("异常，除数和被除数都应该为数值类型")
except BaseException as e:
    print(e)
    print(type(e))